﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.WindowsAzure.StorageClient;

namespace AzureGames.Repository.Interfaces
{
    /// <summary>
    /// interface for gamestats 
    /// </summary>
    public interface IGameStatisticsRepository
    {
        List<TableServiceEntity> GetGameStatsByDateRangeAndGameDefinition(string partitionKey, DateTime fromDate, int gameDefinitionID);
    }

    public interface IUserGameStatisticsRepository
    {
        TableServiceEntity GetUserGameStat(string partitionKey, int gameDefinitionID, DateTime date, int gameType, string playerID);
        List<TableServiceEntity> GetUserGameStatsByDateRangeAndGameDefinitionAndPlayerID(string partitionKey, DateTime fromDate, int gameDefinitionID, string playerID);
    }
}
